package com.pubinfo.passbook.common.model.bo.bank;

import com.pubinfo.passbook.common.entity.TBankApplyReceipt;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
public class BankQueryReceipt implements Serializable
{
    @ApiModelProperty(value = "任务流水号，该字段自获取后7天内有效")
    private String taskId;
    @ApiModelProperty(value = "银行标识，为银行英文简称，如工商银行为：ICBC")
    private String platformId;

    public BankQueryReceipt(TBankApplyReceipt tBankApplyReceipt) {
        this.taskId = tBankApplyReceipt.getTaskId();
        this.platformId = tBankApplyReceipt.getPlatformId();
    }
}
